﻿namespace DataAchive.Model.DBModels
{
    public class FilterModel
    {
        public string Name { get; set; }
        public FilterType Type { get; set; }
        public string Like { get; set; }
        public object[] In { get; set; }
        public object Great { get; set; }
        public object GreatOrEqual { get; set; }
        public object Less { get; set; }
        public object LessOrEqual { get; set; }
        public object Equal { get; set; }
        public object BetweenStart { get; set; }
        public object BetweenEnd { get; set; }
    }

    public enum FilterType
    {
        None,
        Like,
        In,
        Great,
        Less,
        Equal,
        GreatOrEqual,
        LessOrEqual,
        BetweenEnd
    }
}
